@import "../base/color.scss";
@import "../base/mixin.scss";

$nav-height: 48px;
.top-info {
  position: relative;
  width: 100%;
  height: $nav-height;
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
  padding-right: 20px;
  box-sizing: border-box;
  background-color: $white_1;
  box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.03);
  .route-info {
    flex: 1 1 auto; 
    line-height: 28px;
    font-size: 12px;
    color: #7c8995;
  }

  .user-info {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    color: $black_3;
    .user-info__avatar {
      width: 30px;
      height: 30px;
      line-height: 30px;
      margin-right: 6px;
      border-radius: 50%;
      background-color: $blue_2;
      color: $white_1;
      font-size: 10px;
    }
    .user-info__name {
        width: auto;
        max-width: 100px;
    }
  }
}
